﻿@model Login.Web.Models.UserViewModel
@{
    ViewBag.Title = "Login";
}
@using (Html.BeginForm("Login", "User", FormMethod.Post))
{
   <div style="margin-left:300px;">
       <div>@ViewBag.ErrorMsg</div>
       <br />
       <label>账号</label><input type="text" name="UserName" id="UserName" />
       <br />
       <label>密码</label><input type="password" name="Password" id="Password" />
       <br />
       <div style="margin-left:80px">
           <input type="submit" value="登陆" />
       </div>
   </div>
}

